import {get} from '../get'
import {request} from '../request'

export const validate = () => {
  return request.post('/validate')
}

export const getErrorBorehole = () => {
  return get.get('/validate/borehole/error')
}

export const getErrorBoreholeById = (boreholeId) => {
  return get.get(`/validate/borehole/error/${boreholeId}`)
}
